projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd7ec85
)
(Finternal_set_lisp_face_attribute): Check if the frame
author
Kenichi Handa
<handa@m17n.org>
Thu, 10 Jan 2008 12:31:02 +0000
(12:31 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 10 Jan 2008 12:31:02 +0000
(12:31 +0000)
is on a window system before accessing the fontset of the frame.
src/xfaces.c
patch
|
blob
|
history
diff --git
a/src/xfaces.c
b/src/xfaces.c
index 51f13a30821fdc292e9223be034cee177554aca7..c2a5dd9d4a048e8bfc58520f3f5bff35cc3f0bf9 100644
(file)
--- a/
src/xfaces.c
+++ b/
src/xfaces.c
@@
-4540,6
+4540,7
@@
FRAME 0 means change the face on all frames, and change the default
#ifdef USE_FONT_BACKEND
if (enable_font_backend
+ && FRAME_WINDOW_P (XFRAME (frame))
&& !UNSPECIFIEDP (value) && !IGNORE_DEFFACE_P (value))
{
int fontset;